package com.yh.hljapp.gddb.gdbean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

/**
 * =========================
 * 版权所有，违法必究
 * 作者：john
 * <p>
 * 工程：FoodBarcode
 * <p>
 * 文件名：MatBean
 * <p>
 * 创建时间：2017.05.23.14:48
 * *****************************
 */

@Entity
public class MatBean {


    @Id(autoincrement = true)
    private Long ids;

    private String id;

    private String model;
    private String name;
    private String number;
    private String unit_name;
    private String unit_id;
    private String unitgroup_name;
    private String unitgroup_id;
    private String saleprice;

    private String ftype;
    private String defunitId;
    private String credit;
    private String barcode;

    private String baseunit;//
    private String baseName;//退货基本计量单位
    private double reprice;


    @Generated(hash = 509707069)
    public MatBean(Long ids, String id, String model, String name, String number,
            String unit_name, String unit_id, String unitgroup_name,
            String unitgroup_id, String saleprice, String ftype, String defunitId,
            String credit, String barcode, String baseunit, String baseName,
            double reprice) {
        this.ids = ids;
        this.id = id;
        this.model = model;
        this.name = name;
        this.number = number;
        this.unit_name = unit_name;
        this.unit_id = unit_id;
        this.unitgroup_name = unitgroup_name;
        this.unitgroup_id = unitgroup_id;
        this.saleprice = saleprice;
        this.ftype = ftype;
        this.defunitId = defunitId;
        this.credit = credit;
        this.barcode = barcode;
        this.baseunit = baseunit;
        this.baseName = baseName;
        this.reprice = reprice;
    }
    @Generated(hash = 383931396)
    public MatBean() {
    }
    public String getId() {
        return this.id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getModel() {
        return this.model;
    }
    public void setModel(String model) {
        this.model = model;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getNumber() {
        return this.number;
    }
    public void setNumber(String number) {
        this.number = number;
    }
    public String getUnit_name() {
        return this.unit_name;
    }
    public void setUnit_name(String unit_name) {
        this.unit_name = unit_name;
    }
    public String getUnit_id() {
        return this.unit_id;
    }
    public void setUnit_id(String unit_id) {
        this.unit_id = unit_id;
    }
    public String getUnitgroup_name() {
        return this.unitgroup_name;
    }
    public void setUnitgroup_name(String unitgroup_name) {
        this.unitgroup_name = unitgroup_name;
    }
    public String getUnitgroup_id() {
        return this.unitgroup_id;
    }
    public void setUnitgroup_id(String unitgroup_id) {
        this.unitgroup_id = unitgroup_id;
    }
    public String getSaleprice() {
        return this.saleprice;
    }
    public void setSaleprice(String saleprice) {
        this.saleprice = saleprice;
    }
    public String getFtype() {
        return this.ftype;
    }
    public void setFtype(String ftype) {
        this.ftype = ftype;
    }
    public String getDefunitId() {
        return this.defunitId;
    }
    public void setDefunitId(String defunitId) {
        this.defunitId = defunitId;
    }
    public String getCredit() {
        return this.credit;
    }
    public void setCredit(String credit) {
        this.credit = credit;
    }
    public String getBarcode() {
        return this.barcode;
    }
    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }
    public String getBaseunit() {
        return this.baseunit;
    }
    public void setBaseunit(String baseunit) {
        this.baseunit = baseunit;
    }
    public String getBaseName() {
        return this.baseName;
    }
    public void setBaseName(String baseName) {
        this.baseName = baseName;
    }
    public double getReprice() {
        return this.reprice;
    }
    public void setReprice(double reprice) {
        this.reprice = reprice;
    }
    public Long getIds() {
        return this.ids;
    }
    public void setIds(Long ids) {
        this.ids = ids;
    }
    
   
}
